﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools.DA;
using Tools.DA.Repository;
using Tools.Domain;

namespace Tools.Service
{
    public class ServiceBase<TEntity>
        where TEntity : EntityBase
    {
        private IRepository<TEntity> _repository;

        public ServiceBase(IUnitOfWork uow)
        {
            _repository = uow.GetRepository<TEntity>();
        }
    }
}
